const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath:"./",
  lintOnSave:false,
  devServer:{
      port: "8989",
      // open:true
      // 修改了配置之后 vue 服务器一定要重启
      proxy: {
        '/api': {
          target: 'http://localhost:8081',
          pathRewrite: {
            '^/api': ''
          }
        }
      }
  }
})
